import router from '@system.router';
export default {
    data: {
        title: 'World',
        string:" < ",
        imagesrc1:"/common/jiesuan/jiesuan1.png",
        imagesrc2:"/common/jiesuan/jiesuan2.png",
        imagesrc3:"/common/jiesuan/jiesuan3.png",
        imagesrc4:"/common/jiesuan/jiesuan4.png",
        imagesrc5:"/common/jiesuan/jiesuan5.png",
        imagesrc6:"/common/jiesuan/jiesuan6.png",
        imagesrc7:"/common/jiesuan/jiesuan7.png",
        imagesrc8:"/common/jiesuan/jiesuan8.png",
        imagesrc9:"/common/jiesuan/jiesuan9.png",
        imagesrc10:"/common/jiesuan/jiesuan10.png",
        imagesrc11:"/common/jiesuan/jiesuan11.png",
        imagesrc111:"/common/jiesuan/jiesuan7.png",
        imagesrc112:"/common/jiesuan/jiesuan11.png",
        imagesrc113:"/common/jiesuan/jiesuan7.png",
        cnt:1,
        text1:" ",
        price1:309,
        price2:50,
        username:"李伟力 ",
        phoneNum:13510297633,
        address:"深圳大学沧海校区菜鸟驿站",
        storeName:"七彩虹官方旗舰店",
        shangpin1:[
            {image:"/common/shangpin/shangpin10.jpg",text1:"ROG玩家国度",text2:"ROG-STRIX-RTX3080ti",price1:8999,price2:".00",cnt:1},
            {image:"/common/shangpin/shangpin9.jpg",text1:"华硕猛禽",text2:"TUF-RTX3080ti",price1:5499,price2:".00",cnt:2},
        ],
        discount:5,
        space:" ",
        price3:0,
    },
    onInit(){
        this.price3 = this.price1-this.discount;
    },
    click1(){
        router.push({
            uri:"pages/shouye/shouye",
        })
    },
    click2(){
        if(this.imagesrc111=="/common/jiesuan/jiesuan7.png"){
            this.imagesrc111="/common/jiesuan/jiesuan11.png";
        }
        else{
            this.imagesrc111="/common/jiesuan/jiesuan7.png";
        }
    },
    click3(){
        if(this.imagesrc112=="/common/jiesuan/jiesuan7.png"){
            this.imagesrc112="/common/jiesuan/jiesuan11.png";
        }
        else{
            this.imagesrc112="/common/jiesuan/jiesuan7.png";
        }
    },
    click4(){
        if(this.imagesrc113=="/common/jiesuan/jiesuan7.png"){
            this.imagesrc113="/common/jiesuan/jiesuan11.png";
        }
        else{
            this.imagesrc113="/common/jiesuan/jiesuan7.png";
        }
    },
    click(){
        router.back();
    }
}
